﻿package com.firstpixel.multiuser
{
	import flash.display.Sprite;

	public class PlayerObj extends Sprite
	{
		private var _username:String;
		private var _statustag:String="spectator"; // spectator, player1, player2
		private var _room:String="lobby"; //lobby, stadium1, stadium2 ... 
		private var _ip:String;
		private var _type:String="guest"; //guest,player
		private var _talking:Boolean=false; // false, true
		private var _uid:int;
		private var _sid:int;
		private var _ignore:Boolean = false;
		private var _xpos:Array = [];
		private var _ypos:Array = [];
		private var _xVel:Array = [];
		private var _yVel:Array = [];

		
		public function PlayerObj()
		{
			super();
		}
		public function set username(value:String):void{
			_username = value 
		}
		public function get username():String{
			return _username;
		}
		public function set statustag(value:String):void{
			_statustag = value 
		}
		public function get statustag():String{
			return _statustag;
		}		
		public function set ip(value:String):void{
			_ip = value 
		}
		public function get ip():String{
			return _ip;
		}
		public function set sid(value:int):void{
			_sid = value 
		}
		public function get sid():int{
			return _sid;
		}
		public function set xpos(value:Array):void{
			_xpos = value 
		}
		public function get xpos():Array{
			return _xpos;
		}
		public function set ypos(value:Array):void{
			_ypos = value 
		}
		public function get ypos():Array{
			return _ypos;
		}
		public function set xVel(value:Array):void{
			_xVel = value 
		}
		public function get xVel():Array{
			return _xVel;
		}
		public function set yVel(value:Array):void{
			_yVel = value 
		}
		public function get yVel():Array{
			return _yVel;
		}

		
	}
}